Skip to content

Conversation

dfyz
Copy link
Contributor

@dfyz dfyz commented Apr 20, 2023

Accelerate is an Apple framework which can only be used on macOS, and the CMake build ignores the LLAMA_ACCELERATE variable when run on non-Apple platforms. This implies setting LLAMA_ACCELERATE is a no-op on Ubuntu and can be removed.

This will reduce visual noise in CI check results (in addition to reducing the number of checks we have to run for every PR). Right now every sanitized build is duplicated twice for no good reason (e.g., we have CI / ubuntu-latest-cmake-sanitizer (ADDRESS, Debug, ON) and CI / ubuntu-latest-cmake-sanitizer (ADDRESS, Debug, OFF)).

…e CI

[Accelerate](https://developer.apple.com/documentation/accelerate) is an Apple framework which can only be used on macOS, and the CMake build [ignores](https://github.com/ggerganov/llama.cpp/blob/master/CMakeLists.txt#L102) the `LLAMA_ACCELERATE` variable when run on non-Apple platforms. This implies setting `LLAMA_ACCELERATE` is a no-op on Ubuntu and can be removed.

This will reduce visual noise in CI check results (in addition to reducing the number of checks we have to run for every PR). Right now every sanitized build is duplicated twice for no good reason (e.g., we have `CI / ubuntu-latest-cmake-sanitizer (ADDRESS, Debug, ON)` and `CI / ubuntu-latest-cmake-sanitizer (ADDRESS, Debug, OFF)`).
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants